package com.service;

import com.dao.usersDAO;
import com.entity.Users;

public class userService {
	
	private usersDAO usersDAO;
	public void test(Users user){
		usersDAO.addUser(user);
		Users user1 = new Users();
		user1.setUsername("admin1");
		user1.setPassword("111111");
		usersDAO.addUser(user1);
		//usersDAO.addUser(user);
	}
	public usersDAO getUsersDAO() {
		return usersDAO;
	}

	public void setUsersDAO(usersDAO usersDAO) {
		this.usersDAO = usersDAO;
	}
	
}
